package com.jn.erp.web.api.interaction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyp
 * @since 2024-09-29
 */
@Data
  @EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
    public class TStudentHomework implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 创建者所属组织ID
     */
      private Long orgId;

      /**
     * 学员id
     */
      private Long studentId;

      /**
     * 作业id
     */
      private Long homeworkId;

      /**
     * 创建时间
     */
      private LocalDateTime createDate;

      /**
     * 创建人
     */
      private String createUser;

      /**
     * 修改时间
     */
      private LocalDateTime updateDate;

      /**
     * 修改人
     */
      private String updateUser;

      /**
     * 是否删除 0否 1是
     */
      private String isDelete;

  public TStudentHomework(Long orgId, Long studentId, Long homeworkId, LocalDateTime createDate, String createUser, LocalDateTime updateDate, String updateUser, String isDelete) {
    this.orgId = orgId;
    this.studentId = studentId;
    this.homeworkId = homeworkId;
    this.createDate = createDate;
    this.createUser = createUser;
    this.updateDate = updateDate;
    this.updateUser = updateUser;
    this.isDelete = isDelete;
  }
}
